package com.struts.action;

import com.opensymphony.xwork2.Action;

public class HelloWorldAction implements Action
{
	private String account;
	private String password;
	private String submitFlag;

	public String execute() throws Exception
	{
		System.out.println("输入内容：");
		System.out.println("account : " + account);
		System.out.println("password : " + password);
		System.out.println("submitFlag : " + submitFlag);

		return "toWelcome";
	}

	public String getAccount()
	{
		return account;
	}

	public void setAccount(String account)
	{
		this.account = account;
	}

	public String getPassword()
	{
		return password;
	}

	public void setPassword(String password)
	{
		this.password = password;
	}

	public String getSubmitFlag()
	{
		return submitFlag;
	}

	public void setSubmitFlag(String submitFlag)
	{
		this.submitFlag = submitFlag;
	}
}
